package cn.dd.crmweb.modules.adstag.controller;


import cn.dd.crmweb.common.Result;
import cn.dd.crmweb.modules.adstag.service.IAdsTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("adstag")
public class AdstagCantroller {

    @Autowired
    private IAdsTagService adsTagService;

    @GetMapping("list")
    public Result findAll(){
        return Result.success(adsTagService.list());
    }
}
